widget: Handle baseline better
authorMatthias Clasen <mclasen@redhat.com>
Thu, 27 Apr 2023 20:19:24 +0000 (22:19 +0200)
committerMatthias Clasen <mclasen@redhat.com>
Fri, 28 Apr 2023 13:13:49 +0000 (09:13 -0400)
commitbb961d062a1c7b7881baefd2489f5cc8929fb0a2
treeef172d27e00928bb2c2c54436a4ee17896ee5f12
parent38ffd099eb8555db99d5539babb632043a752431
widget: Handle baseline better

When adjusting allocations, treat BASELINE more like CENTER
than like FILL. The results are better, in particular for
controls like entries or switches, which we never want to
scale up vertically, but still want to align to the baseline.
gtk/gtkwidget.c